package com.bootdo.settingDemo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.settingDemo.dao.SettleaccountDao;
import com.bootdo.settingDemo.domain.SettleaccountDO;
import com.bootdo.settingDemo.service.SettleaccountService;



@Service
public class SettleaccountServiceImpl implements SettleaccountService {
	@Autowired
	private SettleaccountDao settleaccountDao;
	
	@Override
	public SettleaccountDO get(Long id){
		return settleaccountDao.get(id);
	}
	
	@Override
	public List<SettleaccountDO> list(Map<String, Object> map){
		return settleaccountDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return settleaccountDao.count(map);
	}
	
	@Override
	public int save(SettleaccountDO settleaccount){
		return settleaccountDao.save(settleaccount);
	}
	
	@Override
	public int update(SettleaccountDO settleaccount){
		return settleaccountDao.update(settleaccount);
	}
	
	@Override
	public int remove(Long id){
		return settleaccountDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return settleaccountDao.batchRemove(ids);
	}
	
}
